package k8s

type Config struct {
	InCluster  bool   `json:"inCluster" yaml:"inCluster"`
	ConfigFile string `json:"configFile" yaml:"configFile"`

	SVRHost string `json:"svrHost" yaml:"svrHost"`
	SVRPort string `json:"svrPort" yaml:"svrPort" default:"8080"`

	Token    string `json:"token" yaml:"token"`
	CertData string `json:"certData" yaml:"certData"`
	KeyData  string `json:"keyData" yaml:"keyData"`

	CertFile string `json:"certFile" yaml:"certFile"`
	KeyFile  string `json:"keyFile" yaml:"keyFile"`

	WatchList []string `json:"watchList" yaml:"watchList" default:"[all]"` // [node,pod,service,configmap,secret,deployment,daemonset,replicaset,statefulset]
}
